package com.fowo.api.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fowo.api.sys.entity.SysTaskDataSource;
import com.fowo.api.sys.model.SysTaskDataSourceSearch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysTaskDataSourceMapper extends BaseMapper<SysTaskDataSource> {
    Page<SysTaskDataSource> searchPage(@Param("page") Page page, @Param("search") SysTaskDataSourceSearch search);
    List<SysTaskDataSource> search(@Param("search") SysTaskDataSourceSearch search);
}
